package com.dragon.logical.service.contract;

import com.dragon.repository.entity.Produce;
import com.dragon.repository.entity.ProduceProducts;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * <p>
 * 供应商产品生产关联表 服务类
 * </p>
 *
 * @author sy
 * @since 2023-08-23
 */
public interface IProduceProductsService extends IService<ProduceProducts> {

    List<ProduceProducts> selectList(Integer produceId,Integer page, Integer limit);

    List<ProduceProducts> selectProductsList(Integer deliverId, Integer page, Integer limit);

    void exportExcel(Integer produceId, HttpServletResponse response) throws UnsupportedEncodingException;

    void updateProduceStatus(Integer id, Integer status);

    void enterProductNum(ProduceProducts pp);
}
